import React,{Component} from 'react';
import {Button} from 'antd';

export default class Child extends Component{
    constructor(){
        super();
        this.state={};
    }
    render(){
        return <div>
            <p style={{color:'white'}}>Child {this.props.name}</p>
            <Button  type='success'>Antd Button</Button>
            <Button type="primary">Primary</Button>
        </div>
    }
}